body{
	text-align: center;
	background-image: url('https://lh5.googleusercontent.com/KDfD9LcvFHPCMXD53juZiOK8t5aR9v4j4_XEDX7RU7I=w960-h450-no');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	font-size: 14px;
	line-height: 1.6em;
}
footer{
	color:#000;
	color: rgba(0, 0, 0, 0.9);
	font-size: 10px;
	font-family: serif;
	line-height: 1em;
}

/* ----------  No Javascript  ---------- */

body.noJS #page #name{
	padding: 5px;
	margin: 10px;
}
body.noJS #vCard  article{
	background: #000 url('https://lh3.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s256-no') repeat;
	padding: 5px;
	position: relative;
	margin: 10px;
}
body.noJS .align-left,
body.noJS .align-right{
	float: none;
}

body.noJS #vCard  .heading{
	background-position: 30px 15px;
	padding-left: 60px;
}
body.noJS #vCard #home .subheading,
body.noJS #home .quote-box {
    color: #fff;
    min-height: 3em;
	width: 100%;
}
body.noJS #vCard h1{
	padding: 15px 15px 0px 15px;
	margin: 0;
}
body.noJS #skills{
	display: none;
}

/* ----------  LAYOUT  ---------- */
html,
body{
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
}
#page{
	margin: auto;
	text-align: center;
	padding: 0;
	height: 100%;
}
#page > div{
	max-width: 780px;
	margin: auto;
	padding: 5px;
	padding-right: 15px;
	padding-top: 3%;
	min-height: 88%;
}
body #page #name{	
	margin: 0;
	padding: 15px 15px 0px 33px;
	text-align: left;
	position: relative;	
	color: #000;
	text-shadow: rgba(255,255,255,0.2) 0 -1px 0;
}
footer{
	position:relative;
	bottom:0;
	width:100%;
	text-align: center;
	padding: 15px; 
}

/* ----------  SHUFFLING TILES  ---------- */
#vCard{
	text-align:left;
	margin: 0;
	padding: 3px;
	color:#f0f0f0;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-right: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 1px 0 rgba(255, 255, 255, 0.2) inset;
	width: 100%;
	
}

/* the 'close tile' button */
#vCard  a.closeBtn{
	position:absolute;
	right:10px;
	top:10px;
	font-weight:bold;
	text-decoration:none;
	display:block;
	font-size:12px;
	margin: 0;
	padding: 0;
	width: 15px;
	height: 14px;
	line-height: 14px;
	text-align: center;
	font-family: monospace;
	background-color:#000;
	border: 1px solid #222;
    box-shadow:0 0 2px 1px #000;
}

/* tiles */
#vCard .shufflingTiles-tile{
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url('https://lh3.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s256-no');
	background-repeat: repeat;
	overflow: hidden;
	-webkit-box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px 1px rgba(0, 0, 0, 0.3);
	box-shadow:         1px 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px 1px rgba(0, 0, 0, 0.1), -1px -1px 1px 1px rgba(255, 255, 255, 0.1);
}
#vCard .tile,
#vCard .two-thirds-tile,
#vCard .half-tile,
#vCard .one-third-tile,
#vCard .wide-button,
#vCard .button{
	background-image: url('https://lh4.googleusercontent.com/eUcsCo4AFdra0iNlBZrQadC-bdsknNOQBRbVq-yvm74=s209-p-no'), url('https://lh3.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s256-no');
	background-repeat: no-repeat, repeat;
	background-position: right bottom, left top;
}
#vCard .open-tile{
	background-repeat: repeat-x, repeat;
	background-position: right bottom,  left top;
	background-size: contain, auto;
}

/* icons */
#vcard .icon{
	display: none;
}

/* headings */
#vCard  .heading{
	padding: 0px 0px 0px 30px;
	font-size: 1.75em;
	line-height: 100%;
	background-repeat: no-repeat;
	background-size: 24px 24px;
}
.old-IE #vCard  .heading{
	padding: 0 !important;
}
#vCard .open-tile .heading,
#vCard .tile .heading{
	margin: 30px 15px 0px 30px;
	font-size: 2em;
	width: 300px;
}
#vCard .two-thirds-tile .heading,
#vCard .half-tile .heading,
#vCard .one-third-tile .heading{
	margin: 12px 15px 0px 15px;
}
#vCard .wide-button .heading,
#vCard .button .heading{
	margin: 7px 15px 0px 15px;
	font-size: 1.5em;
	background-size: 18px 18px;
	padding: 0px 0px 0px 28px;
}
#vCard.animating .wide-button .heading span,
#vCard .button .heading span{
	display: none;	
}
#vCard .button .heading{
	width: 100%;
	
}

/* subheadings */
#vCard  .subheading{
	max-width: 90%;
	margin: 0;
	margin-left: 15px;
	padding: 15px 15px 0px 15px;
	display: none;
	line-height: 100%;
	max-width: 476px;
}
#vCard .wide-tile .subheading,
#vCard .tile .subheading,
#vCard .two-thirds-tile .subheading,
#vCard .half-tile .subheading,
#vCard .one-third-tile .subheading,
#vCard .wide-button .subheading,
#vCard .button .subheading{
	display: none;
}
#vCard .open-tile .subheading{
	display: block;
}
#vCard.columns-1  .subheading{
	font-size: 1.2em;
}

/* content */
#vCard .content{
	margin: 0px 15px;
	padding: 0px 15px 60px 15px;
	position: relative;
	line-height: 100%;
}
#vCard .content p{
	padding: 15px 0px 0px 0px;
	line-height: 1.6em;
}
#vCard .content a{ 
	text-decoration: none; 
	font-weight: bold;
	outline: none;
    clear: both;
}

/* ----------  COMMON ELEMENTS  ---------- */
/* overlay */
.overlay{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.9);
	display: none;
	z-index: 100;
}

/* horizontal alignement */
.align-right { 
	float: right;
	margin: 15px 0 15px 15px;
	padding-left: 1em;
	max-width: 50%;
}
.align-left { 
	float: left;
	margin: 15px 15px 15px 0;
	padding-right: 1em;  
	width: 50%;
}

/* quotes */
.quote-box{
	text-align: left;
	margin-left: 20px;
}
.quote-box:before {
	content: "\201C"; /* U+201C */	
	font-size: 240%;
	margin-right: 0.1em;
	margin-left: -20px;
	position: relative;
	font-family: serif;
	float: left;
	top: 4px;
}
.quote-box  span{
	display: block;
	width: 100%;
}
.quote-box .quote{
	padding: 0;
	padding-right: 15px;
	margin-bottom: 10px;
}
.alert{
	color: #880000;
}
.accent{
	color: #99623d;
}

/* clearfix */
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}

/* ----------  PAGES  ---------- */
/* home */
body #vCard #home.shufflingTiles-tile{
	background-image: url('https://lh3.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s256-no'), url('https://lh3.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s256-no');
	background-repeat: repeat-x, repeat;
	background-position: left 50%, left top;
	background-size: cover, auto;
}
#vCard #home.open-tile{
	background-position: right bottom, left top, left top;
}
#vCard.columns-3 #home .content{
	min-height: 210px;
}
#vCard.columns-2 #home .content,
#vCard.columns-1 #home .content{
	min-height: 230px;
}
#vCard.columns-1 #home{
	background-position: right bottom, left top, left top;
	background-size: auto 80%, cover, auto;
}
#vCard.animating #home{
	background-position: right bottom, left top, left top;
}
#home .quote-box{
	margin-top: 0px;
	margin-left: 0px;
	width: 50%;
	min-height: 150px;
	color: #000;
}
.old-IE #home .quote-box{
	width: 240px;
}
#vCard.columns-1 #home .quote-box{
	width: 100%;
}
#vCard.columns-1 #home .quote{
	border: none;
}
#socialMenu{
	position: absolute;
	bottom: 15px;
	top: auto;
}
#socialMenu p{
	margin: 5px 0;
	padding: 0;
}
#socialMenu a span{
	display: none;
}
#home .icon{
	height: 100%;
	width: 100%;
	position: absolute;
	left: auto;
	right: 0;
	top: 0;
}
#home .icon img{
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	left: auto;
	right: 0;
	top: auto;
	bottom: 0;
}
#slideshow{
	display: none;
}


/* profile */
body #vCard #profile.open-tile{
	background-image: url('../img/live-preview-554302.png'), url('https://lh5.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s209-p-no');
}
#profile .heading{
	background-image: url('https://lh4.googleusercontent.com/km29cCF03jryOYfdLVBE-O-ATGx99ya8EtkDoU54Uk0=w202-h201-p-no');
}
body #profile.selected .heading,
body #profile  .hover{
	background-image: url('https://lh4.googleusercontent.com/xaMiB-4dZQWKJC6IKQmo3ONpmR3wrLW9QEqcZ693JDc=s197-p-no');
}
#profile p.quote-box{
	width: 75%;
}

/* portfolio */ 
body #vCard #portfolio.open-tile{
	background-image: url('https://lh3.googleusercontent.com/-XIyodFXO2dXvaZcsm0MrFedZqLEUlJdRAoSxvd6Fuo=w705-h201-p-no'), url('https://lh5.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s209-p-no');
	padding-left: 0px;
	padding-right: 0px;
}
#portfolio .heading{
	background-image: url('https://lh5.googleusercontent.com/m1l-ovaQ44vy7pO3wQrB1HC6mre-KVYotnoDmg7E5IA=w202-h201-p-no');
}
body #portfolio.selected .heading,
body #portfolio  .hover{
	background-image: url('https://lh6.googleusercontent.com/_TwegHvTC9XTjEzJRqLDll9kNnlWRs2ePnVVx0_Mj1s=s197-p-no');
}
#vCard #portfolio .content{
	padding-left: 0px;
	padding-right: 0px;
}
#gallery{
	margin: 15px 0px 0px 0px;
	padding: 0px;
	position: relative;
	clear: both;
}
#gallery figure{
	padding: 0;
	margin: 15px 0px 15px 15px;
	display: inline-block;
	width: 120px;
	height: 120px;
}
#vCard.columns-1 #gallery figure{
	width: 100px;
	height: 100px;
}
#gallery figure:hover{
	cursor: pointer;
}
#gallery figcaption{
	display: none;
	font-size: 90%;
}
#gallery figure p{
	width: 100%;
	margin: 0;
} 
#vCard #gallery figure p img{
	width: 100%;
	border: 1px solid #000;
	-webkit-box-shadow: 1px 1px 2px 2px #000, -1px -1px 2px 2px #000;
	-moz-box-shadow:    1px 1px 2px 2px #000, -1px -1px 2px 2px #000;
	box-shadow:         1px 1px 2px 2px #000, -1px -1px 2px 2px #000;
}
#vCard.columns-1 #gallery figure p img{
	border-width: 2px;
}
#lightBox{
	display: none;
	width: 100%;
	margin: 0;
}
#lightBox figure{
	max-width: 100%;
}
#vCard #lightBox figure img{
	max-width: 100%;
	margin: 0;
	padding: 0;
	-webkit-box-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
	-moz-box-shadow:    1px 1px 2px #000, -1px -1px 2px #000;
	box-shadow:         1px 1px 2px #000, -1px -1px 2px #000;
}
#vCard.columns-1 #lightBox figure img{
	max-height: 400px;
	border-width: 2px;
}
#lightBox  nav{
	margin-top: 15px;
	padding-top: 15px;
	text-align: center;
}
#galleryMenu a {
	background-color: #000; /* chrome issue 92917 workaround */
	background-color: rgba(0,0,0,0.1);
}
#galleryMenu a span{
	display: none;
}
#lightBox figcaption ul{
	margin: 15px 15px 15px 0px;
	padding: 0px 30px 15px 0px;
	float: left;
	width: 15%;
	background-image: url('https://lh5.googleusercontent.com/4NvqVueHG4Y-X4cX8jAx1dhpQGyq-OUzhCJOaWORNhs=w116-h212-p-no');
	background-repeat: no-repeat;
	background-position: right center; 
}
.old-IE  #lightBox figcaption ul{
	width: 120px;
}
#lightBox figcaption li{
	list-style: none;
	padding: 15px 0px 0px 0px;
	background-repeat: repeat-x, repeat;
	background-position: left 50%, left top;

}
#vCard #lightBox figcaption p{
	margin-left: 15px;
	max-width: 75%;
}
.old-IE #vCard #lightBox figcaption p{
	max-width: 100%;
	width: 540px;
}
#vCard.columns-1 #lightBox  figcaption{
	margin: 0px;
	padding: 0px;

}
#vCard.columns-1 #lightBox  figcaption ul{
	width: 100%;
	background-image: none;
	margin: 0px;	
}
#vCard.columns-2 #lightBox figcaption p,
#vCard.columns-1 #lightBox figcaption p{
	margin-left: 0px;
	max-width: 100%;
}


/* resume */
body #vCard #resume.open-tile{
	background-image: url('https://lh6.googleusercontent.com/80ErJp0cY4RjxCK8bR1noi9_a2imATCtZqNOeP_GHTs=w697-h199-p-no'), url('https://lh5.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s209-p-no');
}
#resume .heading{
	background-image: url('https://lh3.googleusercontent.com/jpTZU3_MEwPoc5J_9sYzG83Vu8v6E03wNY9jYq10y-k=w202-h201-p-no');
}
body #resume.selected .heading,
body #resume  .hover{
	background-image: url('https://lh4.googleusercontent.com/_0FhOUdLao6c5iOmWZiU7RpUivjGpW9Wr2Npr8mAASM=s197-p-no');
}
#vCard #resume a.active,
#vCard #resume a.active:hover{
	cursor: default;
}
#skills{
	margin: 30px 0px 0px 0px;
	padding: 0;
}
#skills li{
	list-style: none;
	padding: 0;
	margin: 10px 5px 5px 0px;
	float: left;
	min-width: 210px;
}
.accordion dl{
	margin: 0;
	padding: 15px 0px;
}
.accordion dt{
	margin: 0;
	padding: 0px;
	font-size: 128%;
}
.accordion dt a{
	font-size: 110%;
	outline: none;
}
.accordion dd {
	margin: 15px 0px 0px 25px;
	padding: 0;
}
.accordion dd div{
	margin: 10px 0px 0px 0px;
	padding: 0;
	min-width: 90%;
}
.accordion dd div ul{
	margin: 15px 15px 15px 0px;
	padding: 0px 30px 15px 0px;
	float: left;
	width: 30%;
	background-image: url('https://lh5.googleusercontent.com/4NvqVueHG4Y-X4cX8jAx1dhpQGyq-OUzhCJOaWORNhs=w116-h212-p-no');
	background-repeat: no-repeat;
	background-position: right center; 
}
.accordion dd div li{
	list-style: none;
	padding: 15px 0px 0px 0px;
	background-repeat: repeat-x, repeat;
	background-position: left 50%, left top;
}
.accordion dd p{
	margin-left: 15px;
}
#vCard.columns-1 .accordion dd div{
	margin: 0px;
	padding: 0px;
}
#vCard.columns-1 .accordion dd div ul{
	width: 100%;
	background-image: none;
	margin: 0px;	
}
#vCard.columns-1 .accordion dd p{
	margin-left: 0px;
}

/* services */
body #vCard #services.open-tile{
	background-image: url('https://lh6.googleusercontent.com/80ErJp0cY4RjxCK8bR1noi9_a2imATCtZqNOeP_GHTs=w697-h199-p-no'), url('https://lh5.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s209-p-no');
}
#services .heading{
	background-image: url('https://lh3.googleusercontent.com/zCFugKCVkoiyb2kO43qMwfYdCHmOcZWyZbCT2rUY_xQ=s209-p-no');
}
body #services.selected .heading,
body #services  .hover{
	background-image: url('https://lh6.googleusercontent.com/WOqeZSjWQm2JBNxIhHoGSiRpG3crGHDD2Np6qWNcZrk=s197-p-no');
}

/* contact */
body #vCard #contact.open-tile{
	background-image: url('https://lh5.googleusercontent.com/-VMTQnAWUqqQ/UqyoxkL0qJI/AAAAAAAAAR4/WFZuoi31Ie0/w760-h150-no/live-preview-255772.png'), url('https://lh5.googleusercontent.com/SZEhuMHx-NqmgAe6k-ZPNnVKOWY5Es3BtEeS8CMaa0w=s209-p-no');
}
#contact .heading{
	background-image: url('https://lh3.googleusercontent.com/a4pnBrh8o5zd3RRBOSOeCVZYAWazIIhWDlce4J0rBBY=s214-p-no');
}
body #contact.selected .heading,
body #contact  .hover{
	background-image: url('https://lh5.googleusercontent.com/haYeDc2IXgX_eggZ7T5_waAA8r1cwuB7WRs9oGn8JvI=s197-p-no');
}
#contact p{
	width: 65%;
}
form{	
	width: 65%;
	padding: 0;
}
#vCard.columns-1 form{	
	width: 100%;
	margin-left: 0;
}
#contact h3{
	margin: 0;
	padding: 15px 0px 0px 0px;
}
#contact ul.vcard{
	font-size: 85%;
	line-height: 1;
	float: right;
	font-style: normal;
	margin: 15px 30px 0px 0px;
	padding: 15px 15px 15px 0px;
	max-width: 25%;
	margin: 0px;
	margin-top: 15px;
	padding-left: 5%;
}
#contact ul.vcard li{
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#contact ul.vcard li span{
	margin: 0;
	padding: 5px 0px 0px 0px;
	display: block;
}

#vCard.columns-1 #contact  ul.vcard{
	max-width: 100%;
	border-left: none;
	float: none;
	margin-bottom: 10px;
	padding: 0;
}
#vCard.columns-1 #contact  p{
	width: 100%;
}

label{
	display: block;
	text-align: left;
	margin: 0;
	padding: 15px 0px 0px 0px;
}
textarea,
input[type='text'],
input[type='email']{
	margin: 0;
	background: #f1f1f1;
	border: 1px #4d4d41 solid;
	padding: 5px;
	color: #333;
	width: 95%;
}
textarea{
	height: 4em
}
#sendBtn{
	text-align: right;
}
#sendBtn input{
	text-align:center;
	background:#fff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#aaa));
	background: -moz-linear-gradient(center top, #f0f0f0 0%, #aaa 100%);
	border: 1px solid #aaa;
	color: #000;
	text-shadow: 0px 1px 0px #222;
	width:75px;
	padding:5px;
	margin-right: 5px;
}
